\hypertarget{class_document}{\section{Document Class Reference}
\label{class_document}\index{Document@{Document}}
}


{\ttfamily \#include $<$Document.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_document_aec4510acc6cf2bab6e28fb35c7d3f64c}{Document} (int id, string title)
\item 
string \hyperlink{class_document_a3060804d6c405dbdcc9de6f73ad82b65}{get\-Title} ()
\item 
int \hyperlink{class_document_a55aacbfd35e57933b6ddf3a85b344a25}{get\-I\-D} ()
\item 
vector$<$ string $>$ \hyperlink{class_document_aeb63b70d5331206e1e25442be28baed7}{get\-Terms} ()
\item 
void \hyperlink{class_document_a76e6d184b051905c8fb27a51b34507c4}{set\-Title} (string str)
\item 
void \hyperlink{class_document_ac01497d5ec5d5c9a82111290dd4d47e5}{set\-Terms} (vector$<$ string $>$ terms)
\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_document_aec4510acc6cf2bab6e28fb35c7d3f64c}{\index{Document@{Document}!Document@{Document}}
\index{Document@{Document}!Document@{Document}}
\subsubsection[{Document}]{\setlength{\rightskip}{0pt plus 5cm}Document\-::\-Document (
\begin{DoxyParamCaption}
\item[{int}]{id, }
\item[{string}]{title}
\end{DoxyParamCaption}
)}}\label{class_document_aec4510acc6cf2bab6e28fb35c7d3f64c}
\hyperlink{class_document}{Document} constructor 
\begin{DoxyParams}{Parameters}
{\em id} & the I\-D of the document \\
\hline
{\em title} & the name/title of the document \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{class_document_a55aacbfd35e57933b6ddf3a85b344a25}{\index{Document@{Document}!get\-I\-D@{get\-I\-D}}
\index{get\-I\-D@{get\-I\-D}!Document@{Document}}
\subsubsection[{get\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}int Document\-::get\-I\-D (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_document_a55aacbfd35e57933b6ddf3a85b344a25}
Get the I\-D of the document \begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\hypertarget{class_document_aeb63b70d5331206e1e25442be28baed7}{\index{Document@{Document}!get\-Terms@{get\-Terms}}
\index{get\-Terms@{get\-Terms}!Document@{Document}}
\subsubsection[{get\-Terms}]{\setlength{\rightskip}{0pt plus 5cm}vector$<$ string $>$ Document\-::get\-Terms (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_document_aeb63b70d5331206e1e25442be28baed7}
Get the vector of terms stored in this document \begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\hypertarget{class_document_a3060804d6c405dbdcc9de6f73ad82b65}{\index{Document@{Document}!get\-Title@{get\-Title}}
\index{get\-Title@{get\-Title}!Document@{Document}}
\subsubsection[{get\-Title}]{\setlength{\rightskip}{0pt plus 5cm}string Document\-::get\-Title (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_document_a3060804d6c405dbdcc9de6f73ad82b65}
Get the name of the document \begin{DoxyReturn}{Returns}
the document name as a string 
\end{DoxyReturn}
\hypertarget{class_document_ac01497d5ec5d5c9a82111290dd4d47e5}{\index{Document@{Document}!set\-Terms@{set\-Terms}}
\index{set\-Terms@{set\-Terms}!Document@{Document}}
\subsubsection[{set\-Terms}]{\setlength{\rightskip}{0pt plus 5cm}void Document\-::set\-Terms (
\begin{DoxyParamCaption}
\item[{vector$<$ string $>$}]{terms}
\end{DoxyParamCaption}
)}}\label{class_document_ac01497d5ec5d5c9a82111290dd4d47e5}
Set terms for a document 
\begin{DoxyParams}{Parameters}
{\em terms} & a vector of terms to set as the document's terms \\
\hline
\end{DoxyParams}
\hypertarget{class_document_a76e6d184b051905c8fb27a51b34507c4}{\index{Document@{Document}!set\-Title@{set\-Title}}
\index{set\-Title@{set\-Title}!Document@{Document}}
\subsubsection[{set\-Title}]{\setlength{\rightskip}{0pt plus 5cm}void Document\-::set\-Title (
\begin{DoxyParamCaption}
\item[{string}]{str}
\end{DoxyParamCaption}
)}}\label{class_document_a76e6d184b051905c8fb27a51b34507c4}
Set the name of the document 
\begin{DoxyParams}{Parameters}
{\em str} & the name of the document \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Christopher/\-Documents/\-Net\-Beans\-Projects/pbsearch/\-Search\-Engine/\hyperlink{_document_8h}{Document.\-h}\item 
C\-:/\-Users/\-Christopher/\-Documents/\-Net\-Beans\-Projects/pbsearch/\-Search\-Engine/\hyperlink{_document_8cpp}{Document.\-cpp}\end{DoxyCompactItemize}
